.service-create-nav {
    ul {
        display: table;
        width: 100%;
        padding: 0 5%;
        margin: 40px 0 20px 0;
        li {
            display: table-cell;
            text-align: center;
            position: relative;
            > div {
                width: 10px;
                height: 10px;
                margin: 0 auto;
                background-color: #efefef;
                border-radius: 100%;
                line-height: 10px;
                position: relative;
                z-index: 1;
            }
            > span {
                position: absolute;
                left: 0;
                right: 0;
                top: -20px;
                color: #ccc;
            }

            &:after {
                content: '';
                position: absolute;
                width: 100%;
                background-color: #efefef;
                height: 3px;
                left: 0;
                top: 3px;
            }

            &.done {
                > div {
                    background-color: #5adcf1;
                }
                > span {
                    color: #666;
                }
                &:after {
                    background-color: #5adcf1;
                }
            }
        }
    }
}

.service-create-container {
    margin-bottom: 70px;
    a.service-button {
        cursor: pointer;
        text-decoration: none;
        > i, > span > i {
            margin-right: 3px;
        }
    }
    .service-deployment-section {
        position: relative;
        > div.service-loading-wrapper {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 98;
        }
        .service-deployment-container {
            margin-bottom: 15px;
            .service-info-panel {
                margin-bottom: 0;
                > .row > div {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
            .service-form-container {
                padding: 0 5%;
                margin-top: 10px;
                display: none;
            }
            &.opened {
                .service-form-container {
                    display: block;
                }
            }
        }
    }
    .container-release-form {
        .container-release-header {
            text-align: center;
            .release-header-desc {
                color: #888;
            }
            .release-header-info {
                color: #2cb6d4;
                margin-top: 3px;
                i {
                    margin-right: 3px;
                }
                kbd {
                    margin: 0 3px;
                }
            }
        }
        .container-release-content {
            margin-bottom: 15px;
            .CodeMirror {
                .CodeMirror-scroll {
                    .CodeMirror-lines {
                        .CodeMirror-code {
                            > .line-tip:after {
                                content: 'Edit';
                                position: absolute;
                                right: 2px;
                                top: 0;
                                background-color: #5bc0de;
                                padding: 1px 3px;
                                color: #fff;
                                vertical-align: baseline;
                                border-radius: 2px;
                                z-index: 1;
                                animation: formTips .3s linear;
                            }
                        }
                    }
                }
            }
        }
    }
}

.service-form-container {
    div.row-box {
        display: flex;
        .panel {
            box-shadow: none;
            margin-bottom: 0;
        }
        .row-box-desc {
            width: 20%;
            position: relative;
            > div {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                color: #888
            }
            > ul.service-form-nav {
                border: 1px solid #eee;
                border-right: none;
                padding: 8px 0 8px 0;
                margin: 0;
                list-style: none;
                > li {
                    position: relative;
                    text-align: center;
                    border-left: 2px groove transparent;
                    > a {
                        display: block;
                        padding: 8px;
                        color: #555;
                        cursor: pointer;
                        text-decoration: none;
                    }
                    &.active {
                        border-left: 2px groove #2cb6d4;
                        background-color: #fff;
                        &:hover {
                            background-color: #fff;
                        }
                    }
                    &.formErr {
                        &:after {
                            position: absolute;
                            content: "\f12a";
                            font-family: 'FontAwesome';
                            color: #d9534f;
                            line-height: 36px;
                            top: 0;
                            right: 5px;
                        }
                    }
                    &:hover {
                        background-color: #eee;
                    }
                }
            }
        }
        .row-box-form {
            width: 80%;
            &.last-box-form {
                border-top: 1px solid #eee;
                border-bottom: 1px solid #eee;
            }
        }
    }
    form {
        .row {
            .couple-form-group {
                .couple-form-info {
                    margin-bottom: 15px;
                    .form-group {
                        display: inline-block;
                        vertical-align: top;
                        position: relative;
                        margin-bottom: 0;
                        &:first-child {
                            width: 48%;
                            .ui-select-container {
                                .ui-select-match-text {
                                    width: 100%;
                                    text-overflow: ellipsis;
                                    overflow: hidden;
                                    padding-right: 10px
                                }
                                .ui-select-choices {
                                    width: auto;
                                    min-width: 100%;
                                    .ui-select-choices-row-inner {
                                        > div {
                                            margin: 0 3px -3px -3px
                                        }
                                    }
                                }
                            }
                        }
                        &:last-child {
                            width: 47%;
                        }
                        &.text-only {
                            line-height: 34px;
                        }
                    }
                }
            }
            .form-group {
                > .form-control + .text-danger {
                    > a {
                        cursor: pointer;
                        text-decoration: none;
                    }
                }
                .ui-select-container {
                    .ui-select-choices {
                        .ui-select-choices-row {
                            .ui-choices-cluster-small {
                                padding: 3px 5px;
                                font-size: 12px;
                                font-weight: normal;
                            }
                            &.active {
                                .ui-choices-cluster-small {
                                    background-color: transparent;
                                }
                            }
                        }
                    }
                    &.ui-select-multiple {
                        padding: 6px 12px;
                        > div {
                            .ui-select-match {
                                display: block;
                                background: #eee;
                                border-radius: 2px;
                                > span {
                                    display: inline-block;
                                    padding: 3px;
                                    > .ui-select-match-item {
                                        margin: 0;
                                        .ui-select-match-close {
                                            font-size: 13px;
                                            line-height: 18px;
                                            opacity: 0.4;
                                            margin-left: 5px;
                                            border-left: 1px solid #ccc;
                                        }
                                        &.btn-primary {
                                            .ui-select-match-close {
                                                color: #fff;
                                                opacity: 0.7;
                                            }
                                        }
                                    }
                                }
                            }
                            input.ui-select-search {
                                height: auto;
                                margin-bottom: 0;
                                width: 100% !important;
                            }
                            &:after {
                                position: absolute;
                                content: '';
                                width: 0;
                                height: 0;
                                bottom: 14px;
                                right: 13px;
                                margin-left: 2px;
                                border-top: 4px dashed;
                                border-right: 4px solid transparent;
                                border-left: 4px solid transparent;
                            }
                        }
                        &.open {
                            > div {
                                input.ui-select-search::-ms-clear {
                                    display: none;
                                }
                                &:after {
                                    position: absolute;
                                    content: '\f002';
                                    font-family: 'FontAwesome';
                                    border: none;
                                    bottom: 23px;
                                    right: 27px;
                                    font-size: 12px;
                                }
                            }
                        }
                    }
                }
            }
            .form-tooltip-group {
                color: #2cb6d4;
                margin: 20px 0;
                word-break: break-all;
                > i {
                    margin-right: 3px;
                }
            }
        }

        &.service-autoScale-form {
            div.form-group {
                .input-group {
                    > .form-control {
                        padding-right: 0;
                        box-shadow: none;
                        border-right: none;
                    }
                    > .input-group-addon {
                        background-color: #fff;
                        padding-left: 0;
                    }
                }
            }
        }
    }
}

.service-detail-panel {
    .form-search {
        >span{
            vertical-align: text-bottom;
            .label{
                padding: 3px 0;
                border-radius: 0;
                position: relative;
                &:before{
                    content: '';
                    width: 8px;
                    left:-8px;
                    top:0;
                    bottom:0;
                    border-radius: 100% 0 0 100%;
                    position: absolute;
                }
                &:after{
                    content: '';
                    width: 8px;
                    right:-8px;
                    top:0;
                    bottom:0;
                    border-radius: 0 100% 100% 0;
                    position: absolute;
                }
                >i{
                    font-size: 12px;
                }
                &.label-success{
                    &:before{
                        background-color: #76cb31;
                    }
                    &:after{
                        background-color: #76cb31;
                    }
                }
                &.label-primary{
                    &:before{
                        background-color: #55acef;
                    }
                    &:after{
                        background-color: #55acef;
                    }
                }
                &.label-danger{
                    &:before{
                        background-color: #d9534f;
                    }
                    &:after{
                        background-color: #d9534f;
                    }
                }
            }
        }
        > strong {
            line-height: 30px;
            font-size: 16px;
            margin-right: 15px
        }
        > .pull-right {
            button, a {
                margin-bottom: 0;
            }
            >span{
              ul.dropdown-menu{
                  left: -115px;
                  top:25px;
                  >li{
                      >a{
                          cursor: pointer;
                      }
                  }
              }
            }
        }
    }
}